﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <joined-subclass name="EnetaMvc.Core.Domain.News.BlogPost,EnetaMvc.Core" extends="EnetaMvc.Core.Domain.News.NewsItem,EnetaMvc.Core" table="blog_post">

    <key column="content_item_id" />

    <many-to-one name="Blog" column="blog_id" class="EnetaMvc.Core.Domain.News.Blog,EnetaMvc.Core" />
  </joined-subclass>
</hibernate-mapping>